Optimization of Scoring Rules